package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 调薪添加request
 *
 * @author luokexiong
 * @version 1.0 2021/2/18
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WorkTimeAddRequest {
    @NotNull
    private Long earlyBegin;
    @NotNull
    private Long earlyEnd;
    @NotNull
    private Long lateBegin;
    @NotNull
    private Long lateEnd;
    @Min(0)
    private Integer duration;
    @Min(0)
    private Integer flexDuration;

}
